package com.hss.rxjava.bean;

import com.hss.rxjava.CheckInterface;
import com.hss.rxjava.StringUtils;

public class OrderPayBefore implements CheckInterface {
    public String payNo;//返回的支付流水号
    public String score;
    public String cash;
    public String key;//支付key
	public double insurancePayment;//结算获取的商保支付额
	public double singlePayment;//结算获取的个人支付额
	public String getPayNo() {
		return payNo;
	}
	public void setPayNo(String payNo) {
		this.payNo = payNo;
	}
	public String getScore() {
		return score;
	}
	public void setScore(String score) {
		this.score = score;
	}
	public String getCash() {
		return cash;
	}
	public void setCash(String cash) {
		this.cash = cash;
	}
	public String getKey() {
		return key;
	}
	public void setKey(String key) {
		this.key = key;
	}

	public double getInsurancePayment() {
		return insurancePayment;
	}

	public void setInsurancePayment(double insurancePayment) {
		this.insurancePayment = insurancePayment;
	}

	public double getSinglePayment() {
		return singlePayment;
	}

	public void setSinglePayment(double singlePayment) {
		this.singlePayment = singlePayment;
	}


	@Override
	public boolean check(int index) {
		if(!StringUtils.isValidate(payNo,key))return false;
		return true;
	}

	@Override
	public void fix(int index) {

	}
}
